package xju_5_6.entity;

import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

@Component
public class Mix {
    private List<String> myList;
    private Map<String, String> map;
    private String[] myArray;
    public Mix setMyList(List<String> myList) {
        this.myList = myList;
        return this;
    }
    public Mix setMap(Map<String, String> map) {
        this.map = map;
        return this;
    }
    public Mix setMyArray(String[] myArray) {
        this.myArray = myArray;
        return this;
    }
    @Override
    public String toString() {
        return "Mix{" +
                "myList=" + myList +
                ", map=" + map +
                ", myArray=" + Arrays.toString(myArray) +
                '}';
    }
}

